home *** CD-ROM | disk | FTP | other *** search
- nobreak
- /*
- program readme...
- by dan dalal
- 05/24/91
- modified 04/12/94
-
- please make any changes as you see fit !
- good luck
-
- dan dalal
- */
- code=4000
-
- domains
-
- file = temm
-
- predicates
- opening
-
- goal
-
- existfile("HELPD.EXE"),
- existfile("README.TXT"),
- opening,exit ;
-
-
- existfile("HELPD.EXE"),
- makewindow(1,7,7," ERROR - README.TXT NOT FOUND ",5,10,3,60),
- gotowindow(1),
- write("Press any key to exit."),readchar(_),
- removewindow,exit ;
-
- existfile("README.TXT"),
- makewindow(1,7,7,"ERROR - HELPD.EXE NOT FOUND ",5,10,3,60),
- gotowindow(1),
- write("Press any key to exit."),readchar(_),
- removewindow,exit ;
-
- makewindow(1,7,7,"ERROR - FILES NEEDED WERE NOT FOUND ",5,10,3,60),
- gotowindow(1),
- write("Press any key to exit."),readchar(_),
- removewindow,exit.
-
-
- clauses
-
-
- opening:-
- makewindow(2,7,7,"< Use the Arrow keys to move about ; ESC to EXIT >",0,0,25,80),
- file_str("README.TXT",TXT),
- display(TXT),
- clearwindow,removewindow,
- makewindow(3,7,7,"< Now creating PHONE.LST and PROBLEM.LOG FILES >",12,5,5,75),
- write("Please wait..."),nl,
- openwrite(temm,"PROBLEM.LOG"),
- closefile(temm),gotowindow(3),
- write("PROBLEM.LOG created..."),nl,
- openwrite(temm,"PHONE.LST"),
- closefile(temm),
- openwrite(temm,"PHONE.LST"),
- writedevice(temm),
- nl,
- write("Name : Dalal Publishing Co."),nl,
- write("Phone : (408) 225 - 6157 (9:00am to 5:00pm, PST)"),nl,
- closefile(temm),
- gotowindow(3),
- write("PHONE.LST created.."),nl,
- write("Press any key to exit."),readchar(_),!.
-
-
-